package com.runing.utils;

import org.springframework.util.DigestUtils;

public class Md5Util {
    public static String md5String(String str){
        String md5 = DigestUtils.md5DigestAsHex(str.getBytes());
        return md5;
    }
}
